Skip to content

[MCC-1498582] - Create layered design - #17

Merged
ibaig-mdsol merged 2 commits into
mainfrom
features/framework-2
May 6, 2026
Merged

[MCC-1498582] - Create layered design#17
ibaig-mdsol merged 2 commits into
mainfrom
features/framework-2

Conversation

@slingampalli-mdsol

@slingampalli-mdsol slingampalli-mdsol commented May 6, 2026

Copy link
Copy Markdown
Contributor

[MCC-1498582] - Create layered design

Changes

  • Code cleanup - removed obsolete files
  • Updated README quick-start to use DataConnectClient.get_studies(...).
  • Changes Arrow Flight transport behavior for unsupported actions to raise a status-based transport error.
  • Adds a defensive check in the service mapper when converting ResourceInfo to Study, and expands service parsing exception handling.

Copilot AI review requested due to automatic review settings May 6, 2026 20:48

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the new layered client/service/transport design by adjusting the public usage example and refining error handling/translation across the transport and service layers.

Changes:

  • Updates the README quick-start to use DataConnectClient.get_studies(...).
  • Changes Arrow Flight transport behavior for unsupported actions to raise a status-based transport error.
  • Adds a defensive check in the service mapper when converting ResourceInfo to Study, and expands service parsing exception handling.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 3 comments.

File Description
README.md Updates quick-start usage of the client API.
dataconnect/transport/arrow_flight/transport.py Adjusts the error type raised for unknown/unsupported actions.
dataconnect/service/mappers.py Adds validation around missing endpoints/tickets when mapping resources to domain models.
dataconnect/service/default.py Expands response-format exception handling when mapping studies.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread README.md
Comment thread dataconnect/transport/arrow_flight/transport.py
Comment thread dataconnect/service/mappers.py Outdated
@ibaig-mdsol
ibaig-mdsol merged commit 56c9721 into main May 6, 2026
3 checks passed
@slingampalli-mdsol
slingampalli-mdsol deleted the features/framework-2 branch May 6, 2026 21:02
@slingampalli-mdsol
slingampalli-mdsol restored the features/framework-2 branch May 7, 2026 15:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants